Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 3 - Standard Image-Compression Dialog Components / Standard Image-Compression Dialog Components Reference
Standard Image-Compression Dialog Component Functions / Working With Image or Sequence Settings


SCGetInfo

The SCGetInfo function allows you to retrieve configuration information from the standard dialog component.

pascal ComponentResult SCGetInfo (ComponentInstance ci, 
                                  OSType type, void *info);
ci
Identifies your application's connection to a standard image-compression dialog component.
type
Specifies the type of information you want to retrieve. The following values are valid:
scSpatialSettingsType
The component returns its spatial compression parameters.
scTemporalSettingsType
The component returns its temporal compression parameters.
scDataRateSettingsType
The component returns information about its compression data rate.
scColorTableType

The component returns its color table.
scProgressProcType
The component returns a pointer to its progress function.
scExtendedProcsType
The component returns information about how you have extended the standard dialog box.
scPreferenceFlagsType
The component returns its current preference flags settings.
scSettingsStateType
The component returns its complete configuration.
scSequenceIDType

The component returns its current image-compression sequence identifier.
scWindowPositionType
The component returns information about where the standard dialog is positioned.
scCodecFlagsType

The component returns its current image-compression control flags.
info
Contains a pointer to a field that is to receive the information.
DESCRIPTION
You use the type parameter to specify the type of information you want to retrieve. The info parameter contains a pointer to a location to receive the information (see this section's introductory text for information about the format of the data that is returned for each request type). If the component cannot satisfy your request, it returns a result code of scTypeNotFoundErr.

RESULT CODE
scTypeNotFoundErr-8971Component does not have the information you want

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help